package com.i2silly.wxbot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.i2silly.wxbot.dao.BotRobotMapper;
import com.i2silly.wxbot.entity.BotRobot;
import com.i2silly.wxbot.service.IBotRobotService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: wx-bot
 * @description：
 * @author: i2silly
 * @date: 2020年11月24日 20:32:06
 */
@Service
public class BotRobotServiceImpl extends ServiceImpl<BotRobotMapper, BotRobot> implements IBotRobotService {

    @Autowired
    private BotRobotMapper mapper;

    @Override
    public BotRobot getByWxid(String wxid) {
        return mapper.getByWxid(wxid);
    }
}
